Automattic\Jetpack\Sync\Actions D

Total Complexity 133
Dependencies 18
Dependents 24
Total lines 1,053
Lines of code 479
Logical lines of code 268
Comment lines 441
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
do_cron_sync_by_type()
A
48 16 29
send_data()
A
37 13 71
get_sync_status()
A
42 12 48
get_debug_details()
A
44 9 44
should_initialize_sender()
A
51 10 28
sync_allowed()
A
54 9 24
init()
S
53 7 22
do_initial_sync()
S
57 5 17
cleanup_on_upgrade()
S
58 5 15
maybe_schedule_sync_cron()
S
60 4 13
jetpack_cron_schedule()
S
59 3 13
do_full_sync()
S
62 3 12
initialize_search()
S
64 3 9
reset_sync_locks()
S
59 2 15
do_only_first_initial_sync()
S
69 3 7
should_initialize_sender_enqueue()
S
66 3 9
get_start_time_offset()
S
63 2 11
sanitize_filtered_sync_cron_schedule()
S
67 2 8
add_dedicated_sync_sender_init()
S
67 2 9
add_sender_shutdown()
S
65 2 10
prevent_publicize_blacklisted_posts()
S
70 2 6
initialize_woocommerce()
S
70 2 6
initialize_wp_super_cache()
S
70 2 6
mark_sync_read_only()
S
79 1 3
init_sync_cron_jobs()
S
64 1 9
clear_sync_cron_jobs()
S
77 1 4
add_woocommerce_sync_module()
S
76 1 4
add_wp_super_cache_sync_module()
S
76 1 4
set_is_importing_true()
S
80 1 3
add_search_sync_module()
S
76 1 4
sync_via_cron_allowed()
S
80 1 3
initialize_sender()
S
74 1 4
initialize_listener()
S
79 1 3
do_cron_sync()
S
80 1 3
do_cron_full_sync()
S
80 1 3